<%@taglib prefix="sx" uri="/struts-dojo-tags"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<link rel="stylesheet" href="ui.all.css" type="text/css" media="screen" />
</head>
	<body>
		<s:property value="#session.user.userName"/>
		
		<a href="UserSignout?operation=logout">Logout</a>
		
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js"></script>
		<script type="text/javascript">
		$(document).ready(function()
		{
    			$("#date").datepicker({ showOn: 'button', buttonImageOnly: true, buttonImage: 'images/icon_cal.png' });
  		});
	</script>
		<s:form action="UserProfile">
			<s:textfield name="name" label="Name"></s:textfield>
			<s:textfield name="mobile" label="Mobile"></s:textfield>
			<s:textfield name="email" label="Email"></s:textfield>
			<s:textfield name="panNo" label="PAN No."></s:textfield>
			<sx:datetimepicker name="date" toggleType="simple" adjustWeeks="true" displayFormat="dd/MMM/yyyy" label="Date" type="date"></sx:datetimepicker>
			<s:textfield name="occupation" label="Occupation"></s:textfield>
			<s:textfield name="address" label="Address"></s:textfield>
			<s:textfield name="country" label="Country"></s:textfield>
			<s:textfield name="state" label="State"></s:textfield>
			<s:textfield name="city" label="City"></s:textfield>
			<s:textfield name="pinCode" label="Pin Code"></s:textfield>
			<s:submit name="operation" value="Add"></s:submit>
			<s:submit name="operation" value="Get"></s:submit>
			<s:submit name="operation" value="Update"></s:submit>
			<s:submit name="operation" value="Delete"></s:submit>
			<s:submit name="operation" value="List"></s:submit>
		</s:form>
	</body>
</html>